package com.hqyj.mapper;


import com.hqyj.pojo.Specifications;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpecificationsMapper {
    List<Specifications> findSpecificationsAll();
    Specifications findSpecificationsBysNorms(String sNorms);
    //查询
    List<Specifications> findAllGSpecifications(@Param("condition") String condition);
    //插入
    Integer insertGSpecifications(Specifications specifications);
    //删除
    Integer deleteGSpecificationsById(int sId);
    //id查找
    Specifications findGSpecificationsById(int sId);
    //规格查找
    Specifications findGSpecificationsBysNorms(String sNorms);
    //更新
    Integer updateGSpecificationsById(Specifications specifications);
    Specifications findGSpecificationsSNum(@Param("sNum") String sNum);
    Integer updateGoodsContactBysId(@Param("sId")int sId);
    int findGoodsContactBySidCount(@Param("sId")int sId);
}
